/**
 * @Author Fish Paradise
 * @Description
 * @Date 2019/1/18  16:40
 **/
public class Test {
    public static void main(String[] args) {
        EagerSingleton eagerSingleton =EagerSingleton.getInsteance();
        LazySingleton lazySingleton = LazySingleton.getInstance();
        IoDHSingleton ioDHSingleton = IoDHSingleton.getInstance();

        eagerSingleton.speak();
        lazySingleton.speak();
        ioDHSingleton.speak();
    }
}
